/*
 * 
 * LegendShop 多用户商城系统
 * 
 *  版权所有,并保留所有权利。
 * 
 */
package com.legendshop.oa.model ;


import com.legendshop.dao.persistence.Column;
import com.legendshop.dao.persistence.Entity;
import com.legendshop.dao.persistence.GeneratedValue;
import com.legendshop.dao.persistence.GenerationType;
import com.legendshop.dao.persistence.Id;
import com.legendshop.dao.persistence.Table;
import com.legendshop.dao.persistence.TableGenerator;
import com.legendshop.dao.support.GenericEntity;

/**
 * The Class SystemConfig.
 *
 * @author Legendshop
 * @version 1.0.0
 */

@Entity
@Table(name = "ls_sys_conf")
public class SystemConfig implements GenericEntity<Long>{
	
	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = -5056144528811885435L;

	
	/** The id. */
	private Long id ; 
		
	
	/** The icp info. */
	private String icpInfo ; 
		
	 
	/** The logo. */
	private String logo; 
			 
	/** The url. */
	private String url ; 
		
	// 多个邮箱，用逗号隔开
	/** The support mail. */
	private String supportMail ; 


	/**
	 * Instantiates a new system config.
	 */
	public SystemConfig() {
    }
		
	/* (non-Javadoc)
	 * @see com.legendshop.model.entity.BaseEntity#getId()
	 */
	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.TABLE, generator = "generator")
	@TableGenerator(name = "generator", pkColumnValue = "SYS_CONF_SEQ")
	public Long  getId(){
		return id ;
	}

	@Column(name="icp_info")
	public String getIcpInfo() {
		return icpInfo;
	}

	public void setIcpInfo(String icpInfo) {
		this.icpInfo = icpInfo;
	}

	@Column(name="logo")
	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	@Column(name="url")
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@Column(name="support_mail")
	public String getSupportMail() {
		return supportMail;
	}

	public void setSupportMail(String supportMail) {
		this.supportMail = supportMail;
	}

	public void setId(Long id) {
		this.id = id;
	}

	
} 
